import java.io.Serializable;
import java.util.Vector;

public class Classe implements Serializable {

	private static final long serialVersionUID = 1L;

	/*
	 * enum Class { MAGE("1spe","2spe"), PALADIN("1spe","2spe"),
	 * PRETRE("1spe","2spe"), GUERRIER("1spe","2spe"), DRUIDE("1spe","2spe"),
	 * CHAMAN("1spe","2spe"), VOLEUR("1spe","2spe"), CHASSEUR("1spe","2spe"),
	 * DK("1spe","2spe"), DEMONISTE("1spe","2spe");
	 * 
	 * private Class(String premiereSpe, String deuxiemeSpe) {
	 * 
	 * } }
	 */

	/* ATTRIBUTS */
	private String nom;
	private Vector spes;

	/* CONSTRUCTEUR */
	public Classe(String nom, String firstSpe, String secondSpe, String thirdSpe) {
		setNom(nom);
		setSpes(new Vector());
		addSpe(firstSpe);
		addSpe(secondSpe);
		addSpe(thirdSpe);
	}

	/* Classe */
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	/* SPE */
	public Vector getSpes() {
		return spes;
	}

	public void setSpes(Vector Spe) {
		spes = Spe;
	}
	
	public void addSpe(String nom) {
		spes.addElement(nom);
	}
	
	public Object getSpe(int i) {
		return spes.get(i);
	}
}
